﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class Controls_catalog : System.Web.UI.UserControl
{
    BUS_Manufacturer data = new BUS_Manufacturer();
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            LoadData();
        }

    }
    void LoadData()
    {
        rptCatalog.DataSource = data.Manufacturer_GetByAll();
        rptCatalog.DataBind();
    }
    public string getURL(string id)
    {
        return "Sanpham.aspx?nsx=" + id;
    }
}